package com.swn.common.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SprintInitA1 {
	
	static ApplicationContext ctx = new ClassPathXmlApplicationContext("spring.xml");
	
	
	
	public static ApplicationContext getCtx(){
		return ctx==null?new ClassPathXmlApplicationContext("spring.xml"):ctx; 
	}

}
